import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
Vue.config.productionTip = false
import Shou from './views/Shou.vue'
import Fen from './views/Fen.vue'
import Ding from './views/Ding.vue'
import Wo from './views/Wo.vue'
Vue.use(VueRouter)
const routes = [
  {
    path: "/",
    component: Shou
  },
  {
    path: "/shou",
    components: Shou
  },
  {
    path: "/fen",
    components: Fen
  },
  {
    path: "/ding",
    components: Ding
  },
  {
    path: "/wo",
    components: Wo
  },

]
const router = new VueRouter({
  router: routes
})
new Vue({
  router: router,
  render: h => h(App),
}).$mount('#app')
